3.1.32 \(\int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx\) [32]
Optimal. Leaf size=116 \[ -\frac {E\left (\sin ^{-1}\left (\frac {\cos (e+f x)}{1+\sin (e+f x)}\right )|-\frac {a-b}{a+b}\right ) \sqrt {\frac {\sin (e+f x)}{1+\sin (e+f x)}} \sqrt {a+b \sin (e+f x)}}{c f \sqrt {g \sin (e+f x)} \sqrt {\frac {a+b \sin (e+f x)}{(a+b) (1+\sin (e+f x))}}} \]
[Out]
-EllipticE(cos(f*x+e)/(1+sin(f*x+e)),((-a+b)/(a+b))^(1/2))*(sin(f*x+e)/(1+sin(f*x+e)))^(1/2)*(a+b*sin(f*x+e))^
(1/2)/c/f/(g*sin(f*x+e))^(1/2)/((a+b*sin(f*x+e))/(a+b)/(1+sin(f*x+e)))^(1/2)
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {3011}
\begin {gather*} -\frac {\sqrt {\frac {\sin (e+f x)}{\sin (e+f x)+1}} \sqrt {a+b \sin (e+f x)} E\left (\text {ArcSin}\left (\frac {\cos (e+f x)}{\sin (e+f x)+1}\right )|-\frac {a-b}{a+b}\right )}{c f \sqrt {g \sin (e+f x)} \sqrt {\frac {a+b \sin (e+f x)}{(a+b) (\sin (e+f x)+1)}}} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[Sqrt[a + b*Sin[e + f*x]]/(Sqrt[g*Sin[e + f*x]]*(c + c*Sin[e + f*x])),x]
[Out]
-((EllipticE[ArcSin[Cos[e + f*x]/(1 + Sin[e + f*x])], -((a - b)/(a + b))]*Sqrt[Sin[e + f*x]/(1 + Sin[e + f*x])
]*Sqrt[a + b*Sin[e + f*x]])/(c*f*Sqrt[g*Sin[e + f*x]]*Sqrt[(a + b*Sin[e + f*x])/((a + b)*(1 + Sin[e + f*x]))])
)
Rule 3011
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/(Sqrt[(g_.)*sin[(e_.) + (f_.)*(x_)]]*((c_) + (d_.)*sin[(e_.) +
(f_.)*(x_)])), x_Symbol] :> Simp[(-Sqrt[a + b*Sin[e + f*x]])*(Sqrt[d*(Sin[e + f*x]/(c + d*Sin[e + f*x]))]/(d*f
*Sqrt[g*Sin[e + f*x]]*Sqrt[c^2*((a + b*Sin[e + f*x])/((a*c + b*d)*(c + d*Sin[e + f*x])))]))*EllipticE[ArcSin[c
*(Cos[e + f*x]/(c + d*Sin[e + f*x]))], (b*c - a*d)/(b*c + a*d)], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[
b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && EqQ[c^2 - d^2, 0]
Rubi steps
\begin {align*} \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx &=-\frac {E\left (\sin ^{-1}\left (\frac {\cos (e+f x)}{1+\sin (e+f x)}\right )|-\frac {a-b}{a+b}\right ) \sqrt {\frac {\sin (e+f x)}{1+\sin (e+f x)}} \sqrt {a+b \sin (e+f x)}}{c f \sqrt {g \sin (e+f x)} \sqrt {\frac {a+b \sin (e+f x)}{(a+b) (1+\sin (e+f x))}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(3415\) vs. \(2(116)=232\).
time = 84.59, size = 3415, normalized size = 29.44 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
Integrate[Sqrt[a + b*Sin[e + f*x]]/(Sqrt[g*Sin[e + f*x]]*(c + c*Sin[e + f*x])),x]
[Out]
(-2*Sin[(e + f*x)/2]*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sin[e + f*x]*Sqrt[a + b*Sin[e + f*x]])/(f*Sqrt[g*Si
n[e + f*x]]*(c + c*Sin[e + f*x])) + ((Cos[(e + f*x)/2] + Sin[(e + f*x)/2])^2*Sqrt[a + b*Sin[e + f*x]]*((a*Sqrt
[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]]) - (b*Sqrt[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]]) + (a*Cot[(e
+ f*x)/2]*Sqrt[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]]) + (b*Cot[(e + f*x)/2]*Sqrt[Sin[e + f*x]])/(2*Sqrt[
a + b*Sin[e + f*x]]) - (b*Cos[(3*(e + f*x))/2]*Csc[(e + f*x)/2]*Sqrt[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]
]) + (b*Csc[(e + f*x)/2]*Sqrt[Sin[e + f*x]]*Sin[(3*(e + f*x))/2])/(2*Sqrt[a + b*Sin[e + f*x]]))*(1 - Cos[e + f
*x] + Sin[e + f*x] - (2*a*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]
]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-
a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt
[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a
^2 + b^2]*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-
a^2 + b^2])])))/(f*Sqrt[g*Sin[e + f*x]]*(c + c*Sin[e + f*x])*((b*Cos[e + f*x]*(1 - Cos[e + f*x] + Sin[e + f*x]
- (2*a*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqr
t[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan
[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/
2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a^2 + b^2]*Sqrt[(a*
Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])))/(2
*Sqrt[Sin[e + f*x]]*Sqrt[a + b*Sin[e + f*x]]) - (Cos[e + f*x]*Sqrt[a + b*Sin[e + f*x]]*(1 - Cos[e + f*x] + Sin
[e + f*x] - (2*a*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]
], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2
] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(
e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a^2 + b^2]
*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2
])])))/(2*Sin[e + f*x]^(3/2)) + (Sqrt[a + b*Sin[e + f*x]]*(Cos[e + f*x] + Sin[e + f*x] + (a^2*Sec[(e + f*x)/2]
^2*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^
2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e +
f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(
-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(2*Sqrt[-a^2 + b^2]*(-b + Sqrt[
-a^2 + b^2])*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*((a*Tan[(e + f*x)/2])/(-b + Sqrt[-a
^2 + b^2]))^(3/2)) + (a*((a*b*Cos[e + f*x]*Sec[(e + f*x)/2]^2)/(a^2 - b^2) + (a*Sec[(e + f*x)/2]^2*(a + b*Sin[
e + f*x])*Tan[(e + f*x)/2])/(a^2 - b^2))*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/S
qrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[S
qrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^
2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2
]))]))/(Sqrt[-a^2 + b^2]*((a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2))^(3/2)*Sqrt[(a*Tan[(e + f*x)
/2])/(-b + Sqrt[-a^2 + b^2])]) - (2*a*((EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqr
t[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2)/2 - (a*EllipticF[Ar
cSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sq
rt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])/(4*(b + Sqrt[-a^2 + b^
2])*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]) + (a*EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a
*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2
*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))])/(4*(-b + Sqrt[-a^2 + b^2])*Sqrt[(a*Tan[(e + f*x)/2])/(-
b + Sqrt[-a^2 + b^2])]) - (a*Sec[(e + f*x)/2]^2*Tan[(e + f*x)/2]*Sqrt[1 - (-b + Sqrt[-a^2 + b^2] - a*Tan[(e +
f*x)/2])/(-b + Sqrt[-a^2 + b^2])])/(4*Sqrt[2]*Sqrt[-a^2 + b^2]*Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2
])/Sqrt[-a^2 + b^2]]*Sqrt[1 - (-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/(2*Sqrt[-a^2 + b^2])]) + (a*Sec[(e
+ f*x)/2]^2*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqr...
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(6803\) vs.
\(2(108)=216\).
time = 0.33, size = 6804, normalized size = 58.66
| | |
method |
result |
size |
| | |
default |
\(\text {Expression too large to display}\) |
\(6804\) |
| | |
|
|
|
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))^(1/2),x,method=_RETURNVERBOSE)
[Out]
result too large to display
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))^(1/2),x, algorithm="maxima")
[Out]
integrate(sqrt(b*sin(f*x + e) + a)/((c*sin(f*x + e) + c)*sqrt(g*sin(f*x + e))), x)
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))^(1/2),x, algorithm="fricas")
[Out]
integral(-sqrt(b*sin(f*x + e) + a)*sqrt(g*sin(f*x + e))/(c*g*cos(f*x + e)^2 - c*g*sin(f*x + e) - c*g), x)
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {\sqrt {a + b \sin {\left (e + f x \right )}}}{\sqrt {g \sin {\left (e + f x \right )}} \sin {\left (e + f x \right )} + \sqrt {g \sin {\left (e + f x \right )}}}\, dx}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+b*sin(f*x+e))**(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))**(1/2),x)
[Out]
Integral(sqrt(a + b*sin(e + f*x))/(sqrt(g*sin(e + f*x))*sin(e + f*x) + sqrt(g*sin(e + f*x))), x)/c
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))^(1/2),x, algorithm="giac")
[Out]
integrate(sqrt(b*sin(f*x + e) + a)/((c*sin(f*x + e) + c)*sqrt(g*sin(f*x + e))), x)
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {a+b\,\sin \left (e+f\,x\right )}}{\sqrt {g\,\sin \left (e+f\,x\right )}\,\left (c+c\,\sin \left (e+f\,x\right )\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((a + b*sin(e + f*x))^(1/2)/((g*sin(e + f*x))^(1/2)*(c + c*sin(e + f*x))),x)
[Out]
int((a + b*sin(e + f*x))^(1/2)/((g*sin(e + f*x))^(1/2)*(c + c*sin(e + f*x))), x)
________________________________________________________________________________________